package io.renren.modules.feedback.dao;

import io.renren.modules.feedback.entity.FeedbackinfosCustomEntity;
import io.renren.modules.feedback.entity.FeedbackinfosEntity;
import io.renren.modules.sys.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author »ÆÇå
 * @email 
 * @date 2018-10-23 12:42:34
 */
@Mapper
public interface FeedbackinfosDao extends BaseDao<FeedbackinfosEntity> {

	FeedbackinfosCustomEntity queryCustomInfo(String id);

	//通过反馈id来查看
	List<FeedbackinfosCustomEntity> queryCustomList(Map<String, Object> map);

	//查询当前审核状态
	int queryAuditStatus(String id);

	int queryTotalById(Map<String, Object> map);

	int audit(FeedbackinfosEntity feedbackinfos);

	List<FeedbackinfosCustomEntity> queryAuditFeedbacks(Map<String, Object> map);

	int queryAuditTotal(Map<String, Object> map);

	FeedbackinfosCustomEntity queryAuditInfo(String id);

}
